<template>
	<view>
		<navigator hover-class="none" class="banner flex align-center" url="/pages/orderList/orderList">
			<image src="../../static/img/index-img/tongzhi.png"></image>
			<uni-notice-bar class="banner-notice" background-color="#ffffff" color="#333333" scrollable="true" single="true" :text="isText" :speed="isSpeed"></uni-notice-bar>
		</navigator>
	</view>
</template>

<script>
	import uniNoticeBar from '@/components/uni-notice-bar/uni-notice-bar.vue'
	export default {
		data() {
			return {
				// 广告移动速度
				isSpeed:80
			};
		},
		props: ['isText'],
		components: {
			uniNoticeBar
		}
	}
</script>

<style lang="scss" scoped>
	.banner {
		width: 100%;
		margin-top: 10upx;
	}

	.banner image {
		width: 37upx;
		height: 29upx;
		margin-left: 47upx;
	}
	.banner-notice{
		width: 80%;
		letter-spacing: 2upx;
	}
	.banner::after {
		content: '';
		border: solid black;
		border-width: 0 2upx 2upx 0;
		display: inline-block;
		padding: 6upx;
		transform: rotate(-45deg);
		margin-right: 50upx;
	}
</style>
